package com.dbf.site.client.shell.presenter;

import com.dbf.site.client.ForumEventBus;
import com.dbf.site.client.shell.view.IShellView;
import com.dbf.site.client.shell.view.ShellView;
import com.google.gwt.user.client.ui.Widget;
import com.mvp4g.client.annotation.Presenter;
import com.mvp4g.client.presenter.BasePresenter;

@Presenter(view = ShellView.class)
public class ShellPresenter extends BasePresenter<IShellView, ForumEventBus>
		implements IShellView.IShellPresenter {
	
	public void onSetMasterView(Widget widget) {
		view.setMasterView(widget);
	}

	public void onSetProfileView(Widget widget) {
		view.setProfileView(widget);
	}
}
